-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow using Pkg protocol to get packages, artifacts & registries #1444
Conversation
ebccb80
to
9abdb75
Compare
Codecov Report
@@ Coverage Diff @@
## master #1444 +/- ##
==========================================
- Coverage 87.29% 86.82% -0.48%
==========================================
Files 25 25
Lines 5406 5448 +42
==========================================
+ Hits 4719 4730 +11
- Misses 687 718 +31
Continue to review full report at Codecov.
|
Ok, this is no longer WIP: it works and https://pkg.julialang.org is currently working as a Pkg Server. Any thoughts on what the next steps here ought to be? This doesn't currently have tests, which I don't love, but it's also a bit hard to test locally and we weren't really explicitly testing installing packages from GitHub previously anyway, so maybe the implicit testing of installing packages is sufficient. I'd like to merge this to master on Pkg and then bump the version of Pkg that Julia master is using so that we get people who use Julia master to test this out. |
Oh, the main drawback that this currently has is that it does not do diffs for updates, which means that when you update the registry, you have to download a whole new compressed registry tarball. I'm working on diffs, but it's a bit tricky, so I'd like to get this out there into people's hands first. |
Seems to be somewhat out of sync with the new releases to the registry, couldn't install the most recent version of some packages. Is the server spec documented somewhere? Is it basically following #1377 (comment) ? |
This does not seem to happen? Since you just get a snapshot of the registry I don't think it will be updated, since we only update registries that are git repos. Edit: Nvm, Just that pkg.julialang.org does not sync with JuliaRegistries/General. |
Lots of
so something seems to be off. Maybe because we do some trickery in order to not update the registry all the time on CI? E.g. in Line 13 in 6077023
Line 73 in 6077023
|
Any idea why the CI process would be unable to reach |
I've made it opt-in now by setting |
I've attempted to fix the merge conflict, if it goes through, let's merge. |
6da5be9
to
ba75cc4
Compare
Pkg.jl/src/backwards_compatible_isolation.jl Line 233 in 258d74e
needs updating to the new signature (https://ci.appveyor.com/project/ararslan/primes-jl/builds/29199679/job/6ff0p4f64rxbqk6b) |
First steps towards implementing #1377.